package com.zw.stock_sell_storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zw.stock_sell_storage.dto.PurchasingDetailDto;

import java.util.List;

/**
 * 采购明细业务层
 */
public interface IPurchasingDetailService  {
    /**
     * 通过采购信息id查询采购明细列表
     * @param purchasingId 采购信息id
     * @return 返回采购明细列表
     */
    List<PurchasingDetailDto> queryPurchasingDetailByPurchasingId(int purchasingId);

    /**
     * 批量添加添加采购明细
     * @param purchasingDetailList
     * @return
     */
    boolean addPurchasingDetails(List<PurchasingDetailDto> purchasingDetailList);
}
